﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ChangePass.ascx.cs" Inherits="uicontrol_ChangePass" %>
<div class="ShortContent"><br />
<asp:Label ID="Label1" runat="server" CssClass="LabelTitle" Text="ĐỔI MẬT KHẨU"></asp:Label>
<table width="500px">
    <tr>
        <td class="Label">
        </td>
        <td>
        </td>
        <td>
        </td>
    </tr>
    <tr>
        <td class="Label">Mật khẩu cũ</td>
        <td><asp:TextBox ID="txtOldPass" runat="server" MaxLength="50" CssClass="TextBox" TextMode="Password"></asp:TextBox></td>
        <td>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtOldPass"
                CssClass="ValidateLabel" Display="Dynamic" ErrorMessage="Không được trống"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td class="Label">
            Mặt khẩu mới</td>
        <td>
            <asp:TextBox ID="txtNewPass" runat="server" CssClass="TextBox" MaxLength="50" TextMode="Password"></asp:TextBox></td>
        <td>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtNewPass"
                CssClass="ValidateLabel" Display="Dynamic" ErrorMessage="Không được trống"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td class="Label">
            Nhập lại mật khẩu mới</td>
        <td>
            <asp:TextBox ID="txtNewPassAgain" runat="server" CssClass="TextBox" MaxLength="50"
                TextMode="Password"></asp:TextBox></td>
        <td>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtNewPassAgain"
                CssClass="ValidateLabel" Display="Dynamic" ErrorMessage="Không được trống"></asp:RequiredFieldValidator>
            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtNewPass"
                ControlToValidate="txtNewPassAgain" CssClass="ValidateLabel" ErrorMessage="Mật khẩu nhập lại không trùng với Mật khẩu mới"></asp:CompareValidator></td>
    </tr>
    <tr>
        <td class="Label" colspan="3">
            <asp:Label ID="lblNotify" runat="server" CssClass="LabelResult"></asp:Label>
            <asp:Label ID="lblError" runat="server" CssClass="ValidateLabel"></asp:Label></td>
    </tr>
    <tr>
        <td colspan="3">
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
            <asp:Button ID="btnChange" runat="server" CssClass="Button" OnClick="btnChange_Click"
                Text="Đổi" />
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
            <asp:Button ID="btnCancel" runat="server" CausesValidation="False" CssClass="Button"
                OnClick="btnCancel_Click" Text="Hủy bỏ" /></td>
    </tr>
</table>
</div>